Optimal. Leaf size=29 \[ \frac{4 \cos ^8(a+b x)}{b}-\frac{16 \cos ^6(a+b x)}{3 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0567422, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {4288, 2565, 14} \[ \frac{4 \cos ^8(a+b x)}{b}-\frac{16 \cos ^6(a+b x)}{3 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4288
Rule 2565
Rule 14
Rubi steps
\begin{align*} \int \csc ^2(a+b x) \sin ^5(2 a+2 b x) \, dx &=32 \int \cos ^5(a+b x) \sin ^3(a+b x) \, dx\\ &=-\frac{32 \operatorname{Subst}\left (\int x^5 \left (1-x^2\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{32 \operatorname{Subst}\left (\int \left (x^5-x^7\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{16 \cos ^6(a+b x)}{3 b}+\frac{4 \cos ^8(a+b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.124245, size = 48, normalized size = 1.66 \[ \frac{-72 \cos (2 (a+b x))-12 \cos (4 (a+b x))+8 \cos (6 (a+b x))+3 \cos (8 (a+b x))}{96 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.025, size = 35, normalized size = 1.2 \begin{align*} 32\,{\frac{-1/8\, \left ( \sin \left ( bx+a \right ) \right ) ^{2} \left ( \cos \left ( bx+a \right ) \right ) ^{6}-1/24\, \left ( \cos \left ( bx+a \right ) \right ) ^{6}}{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.12087, size = 68, normalized size = 2.34 \begin{align*} \frac{3 \, \cos \left (8 \, b x + 8 \, a\right ) + 8 \, \cos \left (6 \, b x + 6 \, a\right ) - 12 \, \cos \left (4 \, b x + 4 \, a\right ) - 72 \, \cos \left (2 \, b x + 2 \, a\right )}{96 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.489855, size = 61, normalized size = 2.1 \begin{align*} \frac{4 \,{\left (3 \, \cos \left (b x + a\right )^{8} - 4 \, \cos \left (b x + a\right )^{6}\right )}}{3 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.45094, size = 188, normalized size = 6.48 \begin{align*} \frac{128 \,{\left (\frac{3 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{2}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{2}} + \frac{4 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{3}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{3}} + \frac{10 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{4}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{4}} + \frac{4 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{5}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{5}} + \frac{3 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{6}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{6}}\right )}}{3 \, b{\left (\frac{\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} - 1\right )}^{8}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]